package org.september.pisces.menuframe;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.september.pisces.menuframe.vo.MenuTreeGroup;
import org.september.pisces.module.api.PiscesModule;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;


/**
 * 标注service，用于主工程发现插件模块
 * @author yexinzhou
 *
 */
@Configuration
@ComponentScan("org.september.pisces.menuframe")
public class MenuFrameModule implements PiscesModule{

//	public static MenuTree menuTree;
	
	public static MenuTreeGroup menuTreeGroup = new MenuTreeGroup();
	
	/**
	 * 项目中需要被内嵌到top.ftl中去的ftl模块
	 */
//	public static List<String> commonIncludeFtls = new ArrayList<>();
	
	public static Map<String,List<String>> commonIncludeFtls = new HashMap<>();
	
	public MenuFrameModule(){
		System.out.println("menu frame module init..");
	}
}
